package cn.iocoder.yudao.module.vote.convert.dept;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.vote.controller.admin.dept.vo.*;
import cn.iocoder.yudao.module.vote.dal.dataobject.dept.VoteDeptDO;

/**
 * 部门信息 Convert
 *
 * @author moving
 */
@Mapper
public interface VoteDeptConvert {

    VoteDeptConvert INSTANCE = Mappers.getMapper(VoteDeptConvert.class);

    VoteDeptDO convert(VoteDeptCreateReqVO bean);

    VoteDeptDO convert(VoteDeptUpdateReqVO bean);

    VoteDeptRespVO convert(VoteDeptDO bean);

    List<VoteDeptRespVO> convertList(List<VoteDeptDO> list);

    PageResult<VoteDeptRespVO> convertPage(PageResult<VoteDeptDO> page);

    List<VoteDeptExcelVO> convertList02(List<VoteDeptDO> list);
    List<VoteDeptSimpleRespVO> convertSimpleList(List<VoteDeptDO> list);

}
